import request from '@/utils/request'

/**
 * @param {应急信息发布设置-列表查询} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/getEmergencyInforSetList
 * @method {post}
 * @params {int} pageIndex  当前页索引
 * @params {int} pageSize  每页条数
 * 
 */
export function getEmergencyInforSetList(data) {
  return request({
    url: '/zy-api/api/emergencyInforSet/getEmergencyInforSetList',
    method: 'post',
    data: data
  })
};

/**
 * @param {应急信息发布设置-ID查询} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/getEmergencyInforSetId
 * @method {post}
 * @params {int} id  主键id
 * 
 */
export function getEmergencyInforSetId(data) {
  return request({
    url: '/zy-api/api/emergencyInforSet/getEmergencyInforSetId',
    method: 'post',
    data: data
  })
};

/**
 * @param {应急信息发布设置-应急场景} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/getEmergencyInforYJ
 * @method {post}
 * 
 */
export function getEmergencyInforYJ() {
  return request({
    url: '/zy-api/api/emergencyInforSet/getEmergencyInforYJ',
    method: 'post',
    data: {}
  })
};

/**
 * @param {应急信息发布设置-应急等级} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/getEmergencyInforDJ
 * @method {post}
 * @params {int} id  	应急场景id
 * 
 */
export function getEmergencyInforDJ(data) {
  return request({
    url: '/zy-api/api/emergencyInforSet/getEmergencyInforDJ',
    method: 'post',
    data: data
  })
};

/**
 * @param {应急信息发布设置-选择接收机构} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/getEmergencyInforOrg
 * @method {post}
 * 
 */
export function getEmergencyInforOrg() {
  return request({
    url: '/zy-api/api/emergencyInforSet/getEmergencyInforOrg',
    method: 'post',
    data: {}
  })
};

/**
 * @param {应急信息发布设置-新增} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/addEmergencyInforSet
 * @method {post}
 * @params {string} plantype  	应急场景
 * @params {string} plancondition  应急级别
 * @params {string} nt  	备注
 * @params {string} rlsway  	发布方式
 * @params {list} list  	接收人
 * 
 */
export function addEmergencyInforSet(data) {
  return request({
    url: '/zy-api/api/emergencyInforSet/addEmergencyInforSet',
    method: 'post',
    data: data
  })
};

/**
 * @param {应急信息发布设置-修改} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/updEmergencyInforSet
 * @method {post}
 * @params {string} id  	主键id
 * @params {string} plantype   应急场景
 * @params {string} plancondition  应急级别
 * @params {string} nt  	备注
 * @params {string} rlsway  	发布方式
 * @params {list} list  	接收人
 * 
 */
export function updEmergencyInforSet(data) {
  return request({
    url: '/zy-api/api/emergencyInforSet/updEmergencyInforSet',
    method: 'post',
    data: data
  })
};

/**
 * @param {应急信息发布设置-物理删除} res 
 * @author 焦誉暄
 * @url http://localhost:8080/api/emergencyInforSet/delDisEnvironmentalManage
 * @method {post}
 * @params {int} id  主键id
 * 
 */
export function delDisEnvironmentalManage(data) {
  return request({
    url: '/zy-api/api/emergencyInforSet/delDisEnvironmentalManage',
    method: 'post',
    data: data
  })
};
